* {
    margin: 0;
    padding: 0;
}

body {
    /* 隐藏溢出 */
    /* overflow: hidden; */
    width: 100%;
    height: 100%;
    min-width: 800px;
}

.navbar {
    width: 100%;
    height: 100%;
}


/* 头部导航栏 */

.header {
    position: fixed;
    display:inline-block;
    width: 100%;
    height: 100px;
    min-width: 600px;
    background-color: #f2f2f2;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.header .header_left {
    position: relative;
    width: 300px;
    height: 100%;
    float: left;
}

.header .header_left a {
    position: relative;
    display: block;
    width: 150px;
    height: 100%;
    margin-left: 50px;
    text-decoration: none;
    color: black;
    
}

.header .header_left a img {
    position: relative;
    top: 25px;
    width: 50px;
}
.header .header_left a span{
    position: relative;
    font-size: 22px;
    top: 8px;
    font-weight: 500;
}




.header .header_right {
    position: absolute;
    width: 350px;
    height: 100%;
    right: 0;
    /* margin-right: 50px; */
}

.header .header_right p{
    position: relative;
    float: left;
    font-size: 20px;
    top: 40px;
    /* margin-left: 200px; */
}
.header .header_right a {
    /* display: block; */
    position: relative;
    float: right;
    width: 120px;
    height: 50px;
    margin-right: 20px;
    margin-top: 25px;
    text-decoration: none;
}
.header .header_right a span{
    position: relative;
    font-size: 20px;
    color: black;
    top: 15px;
}
.header .header_right a img{
    position: relative;
    width: 20px;
    top: 17px;
}







/* 左侧菜单栏 */

.left_bar {
    position: fixed;
    /* 占浏览器可视区域宽度 */
    width: 100vm;
    top: 100px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.left_bar ul {
    list-style: none;
    width: 150px;
    height: 100vh;
    background-color: #a0eee1;
}

.left_bar>ul li {
    height: 60px;
    margin-bottom: 10px;
    padding-top: 10px;
}


/* 移入右侧显示小条 */

.left_bar ul li::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 60px;
    /* margin-top: px; */
    left: 0;
    background-color: rgb(0, 94, 117);
    /* 过度动画 */
    transition: all 0.2s;
    transform: scale(0);
}

.left_bar ul li:hover::before {
    transform: scale(1);
}

.left_bar ul li a {
    /* 弹性布局 */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
}
.left_bar ul li a span{
    color: #858585;
}
.left_bar ul li img {
    width: 20px;
    margin-bottom: 10px;
}



/* 右边实体内容 */
.right_bar{
    position: absolute;
    left: 150px;
    right: 0;
    top: 100px;
    bottom: 50px;
    width: auto;
    /* height: 100vh; */
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
    background-color: rgb(240, 240, 240);
}

/* 页脚 */
.footer{
    position: fixed;
    left: 150px;
    right: 0;
    bottom: 0;
    height: 50px;
    line-height: 50px;
    background-color: rgb(231, 229, 229);
    padding: 0 20px;
    
    /* z-index: 1; */
}
.footer a{
    position: relative;
    text-decoration: none;
    display: block;
    
    height: 100%;
    width: 100px;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -25px;
}
.footer a span{
    position: relative;
    color: black;
}
